package cn.glenn.egnotice2.mapper;

import cn.glenn.egnotice2.pojo.dto.NoticeAddQuery;
import cn.glenn.egnotice2.pojo.enity.Notice;
import cn.glenn.egnotice2.pojo.vo.NoticeDetailInfoVO;
import cn.glenn.egnotice2.pojo.vo.NoticeListVO;

import java.util.List;

public interface NoticeMapper {
    int insertNotice(Notice notice);
    List<NoticeListVO> listNotice(NoticeAddQuery query);
    NoticeDetailInfoVO getNoticeDetailInfo(Long id);
    int deleteNotice(Long id);
    int updateNotice(Notice notice);
}
